package com.ibeetl.cms.service;

import com.ibeetl.admin.core.service.BaseService;
import com.ibeetl.admin.core.util.PlatformException;
import com.ibeetl.cms.dao.EntryDao;
import com.ibeetl.cms.dao.ExcelDao;
import com.ibeetl.cms.entity.Entry;
import com.ibeetl.cms.entity.Excel;
import com.ibeetl.cms.entity.Renting;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Excel Service
 */

@Service
@Transactional
public class ExcelService {

    @Autowired private ExcelDao excelDao;

    public PageQuery<Excel> queryByCondition(PageQuery query){
        PageQuery ret =  excelDao.FindAll(query);
        return ret;
    }

}